<?php

namespace App\Exceptions;

use Exception;
use Throwable;

/** 接口通用异常类 */
class ApiException extends Exception
{
    public function __construct(string $message = "操作失败", int $code = 4000, Throwable $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }

}
